﻿using System;
using System.Collections.Generic;
using System.Text;

using YouHP.Model;
using YouHP.Utility;
using YouHP.BLL;

namespace YouHP.Pages.Member
{
    public class TreatmentSelector : PatientBasePage
    {
        protected List<DiseaseTreatmentInfo> TreatmentList {get; set;}

        protected override void ShowPage()
        {
            base.ShowPage();
            if (ErrorCount > 0) return;

            if(IsPost == false) HandleGet();
        }

        void HandleGet()
        {
            TreatmentList = DiseaseBLL.Instance.GetDiseaseTreatmentList(PRInfo.DiseaseId);
        }


    }
}
